package com.msmall.community.weather.service;

import com.msmall.community.weather.model.Weather;

public interface WeatherManager {

	/**
	 * 当所有的地区信息都不存在时，是用默认的天气查询城市北京
	 */
	public static final String DEFAULT_WEATHER_CODE = "110000";
	public static final String DEFAULT_WEATHER_NAME = "北京";
	public static final String DEFAULT_WEATHER_PINGY = "beijing";
	
	/**
	 * @param cityCode 行政区划码
	 * @return
	 * @throws Exception
	 */
	public Weather getWeather(String cityCode) throws Exception;
}
